import lireg from "@/api/axios";
// 调拨管理
export default {
  // 添加
  add(params) {
    return lireg.post('/v3/inventory/transferOrder/add', params)
  },
  // 批量添加
  addBatch(params) {
    return lireg.post('/v3/inventory/transferOrder/addList', params)
  },
  // 编号删除
  numberDel(params) {
    return lireg.get(`/v3/inventory/transferOrder/delByNo?no=${params}`)
  },
  // 编号批量删除
  numberBatchDel(params) {
    return lireg.post('/v3/inventory/transferOrder/delListByNo', params)
  },
  // 修改
  edit(params) {
    return lireg.post('/v3/inventory/transferOrder/edit', params)
  },
  // 条件查询
  conditionQuery(params) {
    return lireg.post('/v3/inventory/transferOrder/queryByCondition', params)
  },
  // 分页查询
  pageQuery(params) {
    return lireg.post('/v3/inventory/transferOrder/queryPageByCondition', params)
  },
}
